package com.eddy.entity;

public class QueryInfo {
    private String query;//查询内容
    private int pageNumber;//当前页码
    private int pageSize;//查询大小

    public QueryInfo(String query, int pageNumber, int pageSize) {
        this.query = query;
        this.pageNumber = pageNumber;
        this.pageSize = pageSize;
    }

    public QueryInfo() {
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "QueryInfo{" +
                "query='" + query + '\'' +
                ", pageNumber=" + pageNumber +
                ", pageSize=" + pageSize +
                '}';
    }
}
